html{ background: linear-gradient(left, #99a, #eee, #99a); }

// .m_dplayer{
//     width: 964px;
//     height: 556px;
//     display: flex;
//     *{box-sizing: border-box;}
// }
// .dplayer {
// 	width: 680px;
// 	overflow: hidden;
// 	position: relative;
// 	display: inline-block;
// 	height: 100%;
// 	pointer-events: auto;
// }

.dplayer-main {
    position: relative;
    overflow: hidden;
    user-select: none;
	line-height: 1;
	height: 100%;
	width: 100%;
}
.danmu_pool {
    border: 1px solid #e8e8e8;
    box-sizing:content-box;
	position: relative;
    border-left: 1px solid #e2e2e2;
    display: inline-block;
	width: 284px;
    height: 100%;
    background-color: #fff;
    box-sizing: border-box;
    vertical-align: top;
    margin: 0;
    text-align: center;
    padding: 0;
    position: relative;
	overflow: hidden;

position: absolute;
right: -284px;
top:0;


  *{text-overflow:ellipsis;overflow: hidden;white-space: nowrap;font-size: 12px;}
	.filter{
		display: flex;justify-content: space-around;border-bottom: 1px solid #e8e8e8;
		div{
			width: 33%;
			height: 100%;
			padding: 0.5rem 0;
		    cursor: pointer;
		}
		div:hover{
			color: #00a1d6;
		}
		div.active{
			color: #00a1d6;
			border-bottom: 1px solid #00a1d6;
		}
	}
	ul{
		padding:0 1rem;margin:0;
		li{width: 100%;display: flex;justify-content: space-between;padding: 0.25rem 0;}
		li:hover div{
			color: #00a1d6;
		}
		div{
			font-size: 12px;
		    width: 58px;
		    text-align: left;
			color: #99a2aa;
		    cursor: pointer;
    		position: relative;
		}
		div:nth-of-type(2){width: 146px;padding: 0 5px;}
		div:nth-of-type(3){width: 78px;}
	}
	.danmaki-list{
		
	}
	.danmaki-shield{
		text-align: left;
		.danmaki-shield-textbox{
			padding: 10px;
			select{
				width: 92px;
    			line-height: 30px;
    			margin-right: 10px;
    			vertical-align: top;
    			padding: 6px 1px;
				border: 1px solid #ccd0d7;
    			border-radius: 4px;
			}
			input{
				width: 140px;
    			line-height: 20px;
    			padding: 5px 10px;
    			border-radius: 4px;
				border: 1px solid #ccd0d7;
    			margin-right: 10px;
			}
			input[type=text] {
			    color: #222;
			}
		}
		.danmaki-shield-butbox{
			text-align: right;
			padding: 0 22px 0 15px;
			display: flex;
			justify-content:space-between;
			overflow: initial;
			input[type=button]{
				color: #fff;
    			cursor: pointer;
    			text-align: center;
    border-radius: 4px;
    background-color: #00a1d6;
    vertical-align: middle;
    border: 1px solid #00a1d6;
    -webkit-transition: .2s;
    transition: .2s;
    -webkit-transition-property: background-color,border,color;
    transition-property: background-color,border,color;
    padding: 0 10px;
    line-height: 26px;
    height: 26px;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    overflow: visible;
		}
			p{margin: 0;padding: 5px 0;position: relative;z-index:99;top: 10px;color: #333;}
			
		}
		.danmaki-shield-table{
			padding: 5px 15px 10px 5px;
			table,tbody,thead{
				display: block;
				width: 100%;
				tr{
					display: flex;
					justify-content:space-around;
					width: 100%;
					*{font-size: 12px;}
					th,td{
						font-size: 12px;
    					line-height: 24px;
    					text-align: left;
					}
					th{color: #99a2aa;}
					th.contents,td.contents{
						width: 10rem;
						overflow: hidden;
						text-overflow:ellipsis;
						white-space: nowrap;
					}
					td.del,td.enabled{
					    cursor: pointer;
					    color: #00a1d6;
					}
				}
				tr:hover{
					background-color: #e5e9ef;
				}
			}
		}
	}
	.danmaki-option {
		.dplayer-setting-box {
			transform: scale(0);
			width: 100%;
			border-radius: 2px;
//                background: rgba(28, 28, 28, 0.9);
			padding: 7px 0;
			transition: all .3s ease-in-out;
			overflow: hidden;
			z-index: 2;
			& > div {
				display: none;
				&.dplayer-setting-origin-panel {
					white-space: initial;
					text-align: left;
					display: block;
				}
			}
			&.dplayer-setting-box-open {
				transform: scale(1);
			}
			&.dplayer-setting-box-narrow {
				width: 70px;
				height: 180px;
				text-align: center;
			}
			&.dplayer-setting-box-speed {
				.dplayer-setting-origin-panel {
					display: none;
				}
				.dplayer-setting-speed-panel {
					display: block;
				}
			}
		}
		.dplayer-setting-item{
			margin: 0 20px;
			height: 35px;
			text-align: left;
			padding: 5px 10px;
			box-sizing: border-box;
			cursor: pointer;
			position: relative;
		}
		.dplayer-setting-item-line{
			margin: 0 20px;
			height: 35px;
			text-align: left;
			padding: 5px 10px;
			box-sizing: border-box;
			cursor: pointer;
			position: relative;
			display: inline-block;
			overflow: initial;
		}
		.dplayer-label {
			width: 72px;
			vertical-align: top;
			display: inline-block;
			text-align: left;
			color: #99a2aa;
			height: 26px;
			line-height: 26px;
		}

		.dplayer-toggle {
			display: inline-block;
			position: absolute;
			top: 10px;
			text-align: right;
			width: 32px;
			height: 20px;
			font-size: 0;
			vertical-align: middle;
			input {
				max-height: 0;
				max-width: 0;
				display: none;
			}
			input + label {
				display: inline-block;
				position: relative;
				box-shadow: rgb(223, 223, 223) 0 0 0 0 inset;
				border: 1px solid rgb(223, 223, 223);
				height: 20px;
				width: 32px;
				border-radius: 10px;
				box-sizing: border-box;
				cursor: pointer;
				transition: .2s ease-in-out;
			}
			input + label:before {
				content: "";
				position: absolute;
				display: block;
				height: 18px;
				width: 18px;
				top: 0;
				left: 0;
				border-radius: 15px;
				transition: .2s ease-in-out;
			}
			input + label:after {
				content: "";
				position: absolute;
				display: block;
				left: 0;
				top: 0;
				border-radius: 15px;
				background: #fff;
				transition: .2s ease-in-out;
				box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
				height: 18px;
				width: 18px;
			}
			input:checked + label {
				border-color: rgba(255, 255, 255, 0.5);
			}
			input:checked + label:before {
				width: 30px;
				background: rgba(255, 255, 255, 0.5);
			}
			input:checked + label:after {
				left: 12px;
			}
		}
		.dplayer-danmaku-bar-wrap {
			padding: 0 10px;
			box-sizing: border-box;
			display: block;
			vertical-align: middle;
			height: 100%;
			width: 160px;
			position: absolute;
			left: 100px;
			top: 0;
			overflow: initial;
			* {
				overflow: initial;
			}
			.dplayer-danmaku-bar {
				position: relative;
				top: calc(50% - 1.5px);
				width: 100%;
				height: 3px;
				background: #e5e9ef;
				transition: all 0.3s ease-in-out;
				.dplayer-danmaku-bar-inner {
					position: absolute;
					bottom: 0;
					left: 0;
					height: 100%;
					transition: all 0.1s ease;
					background: #00a1d6;
					will-change: width;
					.dplayer-thumb {
						position: absolute;
						top: 0;
						right: 5px;
						margin-top: -4px;
						margin-right: -10px;
						height: 11px;
						width: 11px;
						border-radius: 50%;
						cursor: pointer;
						transition: all .3s ease-in-out;
						background: #00a1d6;
					}
				}
			}
		}
		select {
			width: 140px;
			line-height: 30px;
			margin-right: 10px;
			vertical-align: top;
			padding: 6px 1px;
			border: 1px solid #ccd0d7;
			border-radius: 4px;
			position: absolute;
			left: 100px;
			option{padding: 5px 0;}
		}
	}
}
.scroll {
  	height: -webkit-fill-available;
  	overflow-y: scroll;
  &--simple::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  &--simple::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
  }
  &--simple::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
  }
  &--simple::-webkit-scrollbar-thumb:hover{
  	background: rgba(0,0,0,0.4);
  }
  &--simple::-webkit-scrollbar-thumb:active{
  	background: rgba(0,0,0,.9);
  }
}
.flipIn{animation:flipInY 1s 0s 1 both}
@keyframes flipInY {
  from {
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}
  